package com.jingxing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jingxing.pojo.RewardReceive;
import com.jingxing.provider.RewardReceiveMapperProvider;
import org.apache.ibatis.annotations.SelectProvider;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RewardReceiveMapper extends BaseMapper<RewardReceive> {

    @SelectProvider(type = RewardReceiveMapperProvider.class, method = "getRewardReceives")
    List<RewardReceive> getRewardReceives(String playerName, String prizeName);

}
